package com.gyx.lawyermanager.dongao.service;

import com.gyx.lawyermanager.dongao.entity.Lawyer;
import com.gyx.lawyermanager.dongao.mapper.LawyerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service

public class LawyerServicelmpl implements LawyerService{
    @Autowired
    LawyerMapper lawyerMapper;

    @Override
    public int addLawyer(Lawyer lawyer) {
        return lawyerMapper.insertLawyer(lawyer);
    }
}
